package com.xzc.lease.common.sms;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

//阿里云短信服务，配置类
@Data
//该注解的作用：将外部配置文件中的属性值注入到Java对象中
@ConfigurationProperties(prefix = "aliyun.sms")
public class AliyunSMSProperties {

    private String accessKeyId;

    private String accessKeySecret;

    private String endpoint;
}